package cn.tedu.fresheveryday.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 订单状态更新
 */
@Data
public class OrderStatusHistory implements Serializable {
    private Integer id;
    private Integer state; // 订单状态
    private String orderId; // 订单号
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime; // 状态更新时间
}